package com.oocl.admin_platform.pojo;

import java.util.Arrays;

/**
 * 
 * Merchant
 *
 */
public class Merchant {
	private String id;
	private String uname;
	private byte[] idCard;
	private byte[] portrait;
	private String address;
	private Integer status;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUname() {
		return uname;
	}
	public void setUname(String uname) {
		this.uname = uname;
	}
	public byte[] getIdCard() {
		return idCard;
	}
	public void setIdCard(byte[] idCard) {
		this.idCard = idCard;
	}
	public byte[] getPortrait() {
		return portrait;
	}
	public void setPortrait(byte[] portrait) {
		this.portrait = portrait;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "Merchant [id=" + id + ", uname=" + uname + ", idCard="
				+ Arrays.toString(idCard) + ", portrait="
				+ Arrays.toString(portrait) + ", address=" + address
				+ ", status=" + status + "]";
	}
	/**
	 * 
	 * @param id
	 * @param uname
	 * @param idCard
	 * @param portrait
	 * @param address
	 * @param status
	 */
	
	public Merchant() {
		// TODO Auto-generated constructor stub
	}
	public Merchant(String id, String uname, byte[] idCard, byte[] portrait,
			String address, Integer status) {
		super();
		this.id = id;
		this.uname = uname;
		this.idCard = idCard;
		this.portrait = portrait;
		this.address = address;
		this.status = status;
	}
	
	
}
